<%
	/***********************************************************************************
	+ Desc: verisign payflow link configuration
	+
	+
	+
	***********************************************************************************/
%>
<%@ include file="/common/taglibs.jsp"%>
<probiz:pageHeading pageHeading="Verisign Payflow Link Configuration" />
<content tag="buttons">
	<probiz:iconBtn btnType="save" onclick="return fnDoAction(this, 'saveConfigAction');" />
	<probiz:iconBtn btnType="back" url="${ctxPath}/system/paymentMethod.html" />
</content>
<div class="top clearfix">
	<ul class="tab">
		<li class="curr"><span>Verisign Payflow Link Configuration</span></li>
	</ul>
</div>

<div class="modify">
				<form class="mainForm" name="configForm" method="post" action="paymentMethod.html">
				<input type="hidden" name="paymentGatewayId" value="${paymentGateway.paymentGatewayId}"/>
					<table  width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table">
					<tr>
						<th colspan="2" class="title"><h4><fmt:message key="system.pay.en.shuo"/></h4></th>
					</tr>
					<tr>
						<th colspan="2" >
							<IMG alt="verisign" src="<c:url value="/pages/system/${paymentGateway.gatewayIcon}"/>"/>
							Please get a new account(VeriSign Payflow Link) from <a href="http://www.verisign.com/" target="_blank" style="color:red;text-decoration: underline">Verisign</a>
							In order to track your VeriSign Payflow Link orders by the shopping cart software you have to proceed these steps:
							Log in to your VeriSign account
							Go to the 'Account Info/Payflow Link Info' menu
							<ul  class="intro">
								<li>Set the option 'Return URL Method' to 'POST'
								<li>Set the 'Return URL' to:
									${appConfig.storeFrontSiteUrl}/system/payment/finishPayment.html 
								<li>Put the tick into the 'Silent POST URL' checkbox and set text field to:
									${appConfig.storeFrontSiteUrl}/system/payment/verisign_payflow_link_response.html  
							</ul>
						</th>
					</tr>
					<tr>
						<th colspan="2" class="title"><h4><fmt:message key="system.paymentGateway.en.configItem"/></h4></th>
					</tr>
					<tr>
						<th class="label_width_1"><span>Login:</span></th>
						<td>
							<INPUT class="inputtxt" style="width: 350px" name="login" value="${paymentGateway.configData.login}"/>
						</td>
					</tr>
					<tr>
						<th><span>Partner:</span></th>
						<td>
							<input class="inputtxt" style="width: 350px" name="partner" value="${paymentGateway.configData.partner}"/>
						</td>
					</tr>
					<tr>
						<th><span>Server being used:</span></th>
						<td>
							<select name="server" class="selecttxt" style="width: 200px">
								<option value="USA" <c:if test="${paymentGateway.configData.server=='USA'}">selected</c:if> >United States</option>
								<option value="AU" <c:if test="${paymentGateway.configData.server=='AU'}">selected</c:if>>Australia</option>
							</select>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</div>
